import $http, { IResponse } from './index'

export const getData = $http.get('/posts')
// export const getData = $http.get('http://jsonplaceholder.typicode.com/posts')

export const getCourseList = (data:any) =>{
    return $http.get('/posts',data)
} 